package com.village.zpark.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name="farmer")
public class Farmer {
    @Id
    @Column(name="id")
    private Integer id;
    @Column(name="name")//姓名
    private String name;
    @Column(name="sex")//性别
    private String sex;
    @Column(name="age")
    private Integer age;//年龄
    @Column(name="address")
    private String address;//地址
    @Column(name="landarea")
    private String landarea;//土地面积
    @Column(name="corptypes")
    private String corptypes;//经营类型

}
